package com.bcmusic.user.service;

import com.bcmusic.user.pojo.EnterpriseIdentification;
import com.github.pagehelper.PageInfo;

import java.util.List;

/****
 * @Author:admin
 * @Description:EnterpriseIdentification业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface EnterpriseIdentificationService {

    /***
     * EnterpriseIdentification多条件分页查询
     * @param enterpriseIdentification
     * @param page
     * @param size
     * @return
     */
    PageInfo<EnterpriseIdentification> findPage(EnterpriseIdentification enterpriseIdentification, int page, int size);

    /***
     * EnterpriseIdentification分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<EnterpriseIdentification> findPage(int page, int size);

    /***
     * EnterpriseIdentification多条件搜索方法
     * @param enterpriseIdentification
     * @return
     */
    List<EnterpriseIdentification> findList(EnterpriseIdentification enterpriseIdentification);

    /***
     * 删除EnterpriseIdentification
     * @param id
     */
    void delete(Long id);

    /***
     * 修改EnterpriseIdentification数据
     * @param enterpriseIdentification
     */
    void update(EnterpriseIdentification enterpriseIdentification);

    /***
     * 新增EnterpriseIdentification
     * @param enterpriseIdentification
     */
    EnterpriseIdentification add(EnterpriseIdentification enterpriseIdentification);

    /**
     * 根据ID查询EnterpriseIdentification
     * @param id
     * @return
     */
     EnterpriseIdentification findById(Long id);

    /***
     * 查询所有EnterpriseIdentification
     * @return
     */
    List<EnterpriseIdentification> findAll();

    /**
     * 动态更新
     * @param enterpriseIdentification
     */
    EnterpriseIdentification updateSelective(EnterpriseIdentification enterpriseIdentification);
}
